﻿<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>$Database:{$it.Name$}$</title>
    <link href="css/css.css" rel="stylesheet" type="text/css"/>
    <script language="JavaScript" type="text/javascript" src="js/jquery.js"></script>
</head>
<body>
    <a name="TOP"></a>$Tables:{ <a name="$it.Name$"></a>
    <table class="Table-00" cellspacing="1" cellpadding="0">
        <tr>
            <td class="td-00" colspan="9" onclick='javascript:\$("#t$it.Name$").toggle();' style="cursor: pointer">
                $it.Name$ $it.Description$
            </td>
        </tr>
        <tbody id="t$it.Name$">
            <tr>
                <td width="140px" class="td-00">
                    代码
                </td>
                <td class="td-00">
                    注释
                </td>
                <td width="100px" class="td-00">
                    类型
                </td>
                <td width="50px" class="td-00">
                    长度
                </td>
                <td width="30px" class="td-00">
                    小数
                </td>
                <td width="70px" class="td-00">
                    默认值
                </td>
                <td width="30px" class="td-00">
                    标识
                </td>
                <td width="30px" class="td-00">
                    主键
                </td>
                <td width="30px" class="td-00">
                    空值
                </td>
            </tr>
            $it.Columns:{
            <tr>
                <td width="140px" class="td-01">
                    $it.Name$
                </td>
                <td class="td-01">
                    $it.Description$
                </td>
                <td width="100px" class="td-01">
                    $it.DbType$
                </td>
                <td width="50px" class="td-01">
                    $it.Length$
                </td>
                <td width="30px" class="td-01">
                    $it.Scale$
                </td>
                <td width="70px" class="td-01">
                    $it.DefaultValue$
                </td>
                <td width="30px" class="td-01">
                    $if(it.IsIdentity)$
                    <img src="images/right.gif" alt="是" />
                    $else$
                    <img src="images/wrong.gif" alt="否" />
                    $endif$
                </td>
                <td width="30px" class="td-01">
                    $if(it.IsPrimaryKey)$
                    <img src="images/right.gif" alt="是" />
                    $else$
                    <img src="images/wrong.gif" alt="否" />
                    $endif$
                </td>
                <td width="30px" class="td-01">
                    $if(it.IsNullable)$
                    <img src="images/right.gif" alt="是" />
                    $else$
                    <img src="images/wrong.gif" alt="否" />
                    $endif$
                </td>
            </tr>
            }, {
            <tr>
                <td width="140px" class="td-02">
                    $it.Name$
                </td>
                <td class="td-02">
                    $it.Description$
                </td>
                <td width="100px" class="td-02">
                    $it.DbType$
                </td>
                <td width="50px" class="td-02">
                    $it.Length$
                </td>
                <td width="30px" class="td-02">
                    $it.Scale$
                </td>
                <td width="70px" class="td-02">
                    $it.DefaultValue$
                </td>
                <td width="30px" class="td-02">
                    $if(it.IsIdentity)$
                    <img src="images/right.gif" alt="是" />
                    $else$
                    <img src="images/wrong.gif" alt="否" />
                    $endif$
                </td>
                <td width="30px" class="td-02">
                    $if(it.IsPrimaryKey)$
                    <img src="images/right.gif" alt="是" />
                    $else$
                    <img src="images/wrong.gif" alt="否" />
                    $endif$
                </td>
                <td width="30px" class="td-02">
                    $if(it.IsNullable)$
                    <img src="images/right.gif" alt="是" />
                    $else$
                    <img src="images/wrong.gif" alt="否" />
                    $endif$
                </td>
            </tr>
            }$
        </tbody>
    </table>
    <div id="TOPEnd" onclick="javascript:location.href='Table.htm#TOP';" class="TopClass">TOP</div>
    }$
</body>
</html>